import { IsNumber, IsOptional, IsString } from 'class-validator';

export class CreateFriendDto {
  @IsString()
  readonly name: string;

  @IsString()
  readonly url: string;

  @IsString()
  readonly iconUrl: string;

  @IsString()
  readonly description: string;

  @IsNumber()
  @IsOptional()
  readonly status: number = 1;

  @IsNumber()
  @IsOptional()
  readonly type: number = 1;

  @IsNumber()
  @IsOptional()
  readonly sort: number;
}
